package com.wangjiyuan.shiwupai.ui.fragment.guangchi.pager;

import com.wangjiyuan.shiwupai.bean.guangchi.evaluation.EvaluationBean;
import com.wangjiyuan.shiwupai.bean.guangchi.first.FeedsBean;
import com.wangjiyuan.shiwupai.bean.guangchi.first.FirstBean;
import com.wangjiyuan.shiwupai.bean.guangchi.food.FoodBean;

import java.util.List;
import java.util.Map;

import rx.Observable;

/**
 * Created by wjy on 2016/11/29.
 */

public class PagerContract {
    interface PagerModel {

        Observable<EvaluationBean> getEvaluation(Map<String, String> map);

        Observable<FoodBean> getFood(Map<String, String> map);

        Observable<FirstBean> getFirst(Map<String, String> map);

    }

    interface PagerPresenter {
        void getEvaluation(Map<String, String> map);

        void getFood(Map<String, String> map);

        void getFirst(Map<String, String> map);
    }

    interface PagerView {

        void getEvaluation(List<com.wangjiyuan.shiwupai.bean.guangchi.evaluation.FeedsBean> bean);

        void getFood(List<com.wangjiyuan.shiwupai.bean.guangchi.food.FeedsBean> bean);

        void getFirst(List<FeedsBean> bean);
    }
}
